package com.iflytek.threadpool.manager.biz;

import com.iflytek.threadpool.manager.service.DemoService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: threadpooltest
 * @description:
 * @author: 陈亮
 * @create: 2022-02-22 20:53
 */
@RestController
@RequestMapping("/demo")
public class DemoBiz {


    @Resource
    private DemoService demoService;

    @GetMapping("/getTestResult")
    public String  getTestResult(){
        return demoService.getResult();
    }
}
